package com.hxkj.dao;

import com.hxkj.domain.po.RankingManagement;

import java.util.List;

/**
* 数据操作接口
*
* @author: chenwei
* @version: 1.0
* @datetime: 2018-06-28 20:06:30
*
*/
public interface RankingManagementDao {

    /**
    *
    * 根据主键查询RankingManagement对象
    *
    * @param rankingId
    * @return RankingManagement对象
    */
    RankingManagement get(Long rankingId);

    /**
    *
    * 根据查询条件查询符合条件的RankingManagement对象
    *
    * @param rankingManagement
    * @return 符合条件的RankingManagement对象List
    */
    List<RankingManagement> get(RankingManagement rankingManagement);

    /**
    *
    * 根据主键删除RankingManagement对象
    *
    * @param rankingId
    * @return 影响条件数
    */
    int delete(Long rankingId);

    /**
    *
    * 根据条件删除符合条件的RankingManagement对象
    *
    * @param rankingManagement
    * @return 影响条件数
    */
    int delete(RankingManagement rankingManagement);

    /**
    *
    * 插入RankingManagement对象
    *
    * @param rankingManagement
    * @return 影响条件数
    */
    int save(RankingManagement rankingManagement);

    /**
    *
    * 更新RankingManagement对象
    *
    * @param rankingManagement
    * @return 影响条件数
    */
    int update(RankingManagement rankingManagement);

}
